aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/usb/s2255/s2255drv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/usb/s2255/s2255drv.c b/drivers/media/usb/s2255/s2255drv.c
index 4c7513af2450..1d4ba2b80490 100644
--- a/drivers/media/usb/s2255/s2255drv.c
+++ b/drivers/media/usb/s2255/s2255drv.c
@@ -2175,11 +2175,6 @@ static int s2255_stop_acquire(struct s2255_vc *vc)
2175 2175
2176 mutex_lock(&dev->cmdlock); 2176 mutex_lock(&dev->cmdlock);
2177 chn_rev = G_chnmap[vc->idx]; 2177 chn_rev = G_chnmap[vc->idx];
2178 buffer = kzalloc(512, GFP_KERNEL);
2179 if (buffer == NULL) {
2180 dev_err(&dev->udev->dev, "out of mem\n");
2181 return -ENOMEM;
2182 }
2183 /* send the stop command */ 2178 /* send the stop command */
2184 buffer[0] = IN_DATA_TOKEN; 2179 buffer[0] = IN_DATA_TOKEN;
2185 buffer[1] = (__le32) cpu_to_le32(chn_rev); 2180 buffer[1] = (__le32) cpu_to_le32(chn_rev);