Skip to content

Commit

Permalink
staging/go7007: remove the BKL
Browse files Browse the repository at this point in the history
There is nothing that the BKL can possibly
protect here, so just remove it.

Cc: Ross Cohen <rcohen@snurgle.org>

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
arndb authored and gregkh committed Jan 31, 2011
1 parent 27a1681 commit 8aea588
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion drivers/staging/go7007/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
config VIDEO_GO7007
tristate "WIS GO7007 MPEG encoder support"
depends on VIDEO_DEV && PCI && I2C
depends on BKL # please fix
depends on SND
select VIDEOBUF_DMA_SG
depends on RC_CORE
Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/go7007/s2250-loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/usb.h>
#include <dvb-usb.h>

Expand Down Expand Up @@ -142,11 +141,9 @@ static void s2250loader_disconnect(struct usb_interface *interface)
{
pdevice_extension_t s;
printk(KERN_INFO "s2250: disconnect\n");
lock_kernel();
s = usb_get_intfdata(interface);
usb_set_intfdata(interface, NULL);
kref_put(&(s->kref), s2250loader_delete);
unlock_kernel();
}

static const struct usb_device_id s2250loader_ids[] = {
Expand Down

0 comments on commit 8aea588

Please sign in to comment.