ChangeSet 1.1595.8.1, 2003/07/29 22:21:46-07:00, bellucda@tiscali.it [PATCH] USB: Audit usb_register in drivers/usb/class/audio.c drivers/usb/class/audio.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff -Nru a/drivers/usb/class/audio.c b/drivers/usb/class/audio.c --- a/drivers/usb/class/audio.c Fri Aug 1 10:56:45 2003 +++ b/drivers/usb/class/audio.c Fri Aug 1 10:56:45 2003 @@ -3872,9 +3872,10 @@ static int __init usb_audio_init(void) { - usb_register(&usb_audio_driver); - info(DRIVER_VERSION ":" DRIVER_DESC); - return 0; + int result = usb_register(&usb_audio_driver); + if (result == 0) + info(DRIVER_VERSION ":" DRIVER_DESC); + return result; }