Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba198efb authored by Mike Miller's avatar Mike Miller Committed by Jens Axboe
Browse files

cciss: fix bug if scsi tape support is disabled



Bug fix. If SCSI tape support is turned off we get an implicit declaration
of cciss_unregister_scsi error in cciss_remove_one.

Signed-off-by: default avatarMike Miller <mike.miller@hp.com>
Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 935dc8d7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3614,7 +3614,9 @@ static void __devexit cciss_remove_one(struct pci_dev *pdev)
		}
	}

#ifdef CONFIG_CISS_SCSI_TAPE
	cciss_unregister_scsi(i);	/* unhook from SCSI subsystem */
#endif

	cciss_shutdown(pdev);