You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Input: gameport - check return value of gameport_register_driver()
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
@@ -818,8 +818,7 @@ static struct gameport_driver sw_drv = {
|
||||
|
||||
static int __init sw_init(void)
|
||||
{
|
||||
gameport_register_driver(&sw_drv);
|
||||
return 0;
|
||||
return gameport_register_driver(&sw_drv);
|
||||
}
|
||||
|
||||
static void __exit sw_exit(void)
|
||||
|
||||
Reference in New Issue
Block a user