Skip to content

Commit 1520007

Browse files
admmqgregkh
authored andcommitted
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>
1 parent ea39cd0 commit 1520007

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

drivers/gpib/cb7210/cb7210.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,26 +1290,14 @@ static void cb_gpib_release(struct pcmcia_device *link)
12901290

12911291
static int cb_gpib_suspend(struct pcmcia_device *link)
12921292
{
1293-
//struct local_info *info = link->priv;
1294-
//struct struct gpib_board *dev = info->dev;
1295-
12961293
if (link->open)
12971294
dev_warn(&link->dev, "Device still open\n");
1298-
//netif_device_detach(dev);
12991295

13001296
return 0;
13011297
}
13021298

13031299
static int cb_gpib_resume(struct pcmcia_device *link)
13041300
{
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-
*/
13131301
return cb_gpib_config(link);
13141302
}
13151303

0 commit comments

Comments
 (0)