Drop some obsolete and unneeded comments.
This commit is contained in:
parent
6525d819ee
commit
8cb222e143
|
@ -156,7 +156,6 @@ static int dev_open(struct sr_dev_inst *sdi)
|
|||
{
|
||||
(void)sdi;
|
||||
|
||||
/* Nothing to do here. */
|
||||
sdi->status = SR_ST_ACTIVE;
|
||||
|
||||
return SR_OK;
|
||||
|
@ -166,7 +165,6 @@ static int dev_close(struct sr_dev_inst *sdi)
|
|||
{
|
||||
(void)sdi;
|
||||
|
||||
/* Nothing to do here. */
|
||||
sdi->status = SR_ST_INACTIVE;
|
||||
|
||||
return SR_OK;
|
||||
|
|
|
@ -332,7 +332,6 @@ static void finish_acquisition(struct sr_dev_inst *sdi)
|
|||
|
||||
std_session_send_df_end(sdi, LOG_PREFIX);
|
||||
|
||||
/* Remove fds from polling. */
|
||||
usb_source_remove(sdi->session, devc->ctx);
|
||||
|
||||
devc->num_transfers = 0;
|
||||
|
|
|
@ -28,7 +28,6 @@ static void stop_acquisition(struct sr_dev_inst *sdi)
|
|||
{
|
||||
struct drv_context *drvc = sdi->driver->context;
|
||||
|
||||
/* Remove USB file descriptors from polling. */
|
||||
usb_source_remove(sdi->session, drvc->sr_ctx);
|
||||
|
||||
std_session_send_df_end(sdi, LOG_PREFIX);
|
||||
|
@ -40,7 +39,6 @@ static void abort_acquisition(struct sr_dev_inst *sdi)
|
|||
{
|
||||
struct drv_context *drvc = sdi->driver->context;
|
||||
|
||||
/* Remove USB file descriptors from polling. */
|
||||
usb_source_remove(sdi->session, drvc->sr_ctx);
|
||||
|
||||
std_session_send_df_end(sdi, LOG_PREFIX);
|
||||
|
|
|
@ -763,7 +763,6 @@ static void finish_acquisition(struct sr_dev_inst *sdi)
|
|||
|
||||
std_session_send_df_end(sdi, LOG_PREFIX);
|
||||
|
||||
/* Remove fds from polling. */
|
||||
usb_source_remove(sdi->session, devc->ctx);
|
||||
|
||||
devc->num_transfers = 0;
|
||||
|
|
Loading…
Reference in New Issue