]> git.neil.brown.name Git - history.git/commit
[PATCH] USB storage: cleanup storage_probe()
authorMatthew Dharm <mdharm-usb@one-eyed-alien.net>
Tue, 18 Jun 2002 06:30:56 +0000 (23:30 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 18 Jun 2002 06:30:56 +0000 (23:30 -0700)
commit2cc2b5458a33c5eedc92cbd550b7d8452264b686
tree9730a0ccaaf70af293f115fc33b68b38fd9cecf1
parent6986d71db4b2613876c4cc66d574b42440703e56
[PATCH] USB storage: cleanup storage_probe()

Attached is a BK patch which cleans up the usb-storage driver
storage_probe() function.  This patch is courtsey Alan Stern.

Basically, it removes some redundant checks, moves all the error-path code
to one place (reducing code duplication), and fixes some spelling errors.
drivers/usb/storage/usb.c