Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: gpib: Clean-up commented-out code

Remove unused code.

Signed-off-by: Adam Quandour <adam.quandour@gmail.com>
Link: https://patch.msgid.link/20251124192048.290425-1-adam.quandour@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Adam Quandour and committed by
Greg Kroah-Hartman
1520007a ea39cd0e

-12
-12
drivers/gpib/cb7210/cb7210.c
··· 1290 1290 1291 1291 static int cb_gpib_suspend(struct pcmcia_device *link) 1292 1292 { 1293 - //struct local_info *info = link->priv; 1294 - //struct struct gpib_board *dev = info->dev; 1295 - 1296 1293 if (link->open) 1297 1294 dev_warn(&link->dev, "Device still open\n"); 1298 - //netif_device_detach(dev); 1299 1295 1300 1296 return 0; 1301 1297 } 1302 1298 1303 1299 static int cb_gpib_resume(struct pcmcia_device *link) 1304 1300 { 1305 - //struct local_info *info = link->priv; 1306 - //struct struct gpib_board *dev = info->dev; 1307 - 1308 - /*if (link->open) { 1309 - * ni_gpib_probe(dev); / really? 1310 - * //netif_device_attach(dev); 1311 - * 1312 - */ 1313 1301 return cb_gpib_config(link); 1314 1302 } 1315 1303