Эх сурвалжийг харах

[PATCH] ide: remove unused ide_action_t:ide_next

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Bartlomiej Zolnierkiewicz 19 жил өмнө
parent
commit
071ffcc0f7

+ 0 - 6
drivers/ide/ide-io.c

@@ -1629,12 +1629,6 @@ EXPORT_SYMBOL(ide_init_drive_cmd);
  *	for the new rq to be completed.  This is VERY DANGEROUS, and is
  *	for the new rq to be completed.  This is VERY DANGEROUS, and is
  *	intended for careful use by the ATAPI tape/cdrom driver code.
  *	intended for careful use by the ATAPI tape/cdrom driver code.
  *
  *
- *	If action is ide_next, then the rq is queued immediately after
- *	the currently-being-processed-request (if any), and the function
- *	returns without waiting for the new rq to be completed.  As above,
- *	This is VERY DANGEROUS, and is intended for careful use by the
- *	ATAPI tape/cdrom driver code.
- *
  *	If action is ide_end, then the rq is queued at the end of the
  *	If action is ide_end, then the rq is queued at the end of the
  *	request queue, and the function returns immediately without waiting
  *	request queue, and the function returns immediately without waiting
  *	for the new rq to be completed. This is again intended for careful
  *	for the new rq to be completed. This is again intended for careful

+ 0 - 1
include/linux/ide.h

@@ -1201,7 +1201,6 @@ extern u64 ide_get_error_location(ide_drive_t *, char *);
  */
  */
 typedef enum {
 typedef enum {
 	ide_wait,	/* insert rq at end of list, and wait for it */
 	ide_wait,	/* insert rq at end of list, and wait for it */
-	ide_next,	/* insert rq immediately after current request */
 	ide_preempt,	/* insert rq in front of current request */
 	ide_preempt,	/* insert rq in front of current request */
 	ide_head_wait,	/* insert rq in front of current request and wait for it */
 	ide_head_wait,	/* insert rq in front of current request and wait for it */
 	ide_end		/* insert rq at end of list, but don't wait for it */
 	ide_end		/* insert rq at end of list, but don't wait for it */