From 6ab7be54199f342049d91d378edcbc4d14c9723e Mon Sep 17 00:00:00 2001 From: Mike Isely Date: Sun, 28 Oct 2007 22:19:53 -0300 Subject: [PATCH] --- yaml --- r: 73159 b: refs/heads/master c: f21daa41d19def8c0a1e9d9626f773447b8191f6 h: refs/heads/master i: 73157: 24ce1b451de3a9d9f9f4fab26039a00b88d9a73e 73155: 21de6c2fbe9ec3449f3e6bf249351b2c6b6e7214 73151: e43f86f47b7907940238e94474c687773e2e443f v: v3 --- [refs] | 2 +- trunk/drivers/media/video/pvrusb2/pvrusb2-sysfs.c | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/[refs] b/[refs] index 172527302f69..059965b4b52a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4ed53a5af75d858bd224c2cdd7604e347a63218f +refs/heads/master: f21daa41d19def8c0a1e9d9626f773447b8191f6 diff --git a/trunk/drivers/media/video/pvrusb2/pvrusb2-sysfs.c b/trunk/drivers/media/video/pvrusb2/pvrusb2-sysfs.c index 2ee3c3049e8f..3c57a7d8200b 100644 --- a/trunk/drivers/media/video/pvrusb2/pvrusb2-sysfs.c +++ b/trunk/drivers/media/video/pvrusb2/pvrusb2-sysfs.c @@ -905,13 +905,6 @@ struct pvr2_sysfs *pvr2_sysfs_create(struct pvr2_context *mp, } -static int pvr2_sysfs_hotplug(struct device *d, - struct kobj_uevent_env *env) -{ - /* Even though we don't do anything here, we still need this function - because sysfs will still try to call it. */ - return 0; -} struct pvr2_sysfs_class *pvr2_sysfs_class_create(void) { @@ -922,7 +915,6 @@ struct pvr2_sysfs_class *pvr2_sysfs_class_create(void) clp->class.name = "pvrusb2"; clp->class.class_release = pvr2_sysfs_class_release; clp->class.dev_release = pvr2_sysfs_release; - clp->class.dev_uevent = pvr2_sysfs_hotplug; if (class_register(&clp->class)) { pvr2_sysfs_trace( "Registration failed for pvr2_sysfs_class id=%p",clp);