]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: gpib: Clean-up commented-out code
authorAdam Quandour <adam.quandour@gmail.com>
Mon, 24 Nov 2025 19:20:48 +0000 (22:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2025 13:28:19 +0000 (14:28 +0100)
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>
drivers/gpib/cb7210/cb7210.c

index 3e2397898a9ba29506ed5beb4d353fbd0d768e78..24c61b1510719ad4d56209e5677a1ecea6eded31 100644 (file)
@@ -1290,26 +1290,14 @@ static void cb_gpib_release(struct pcmcia_device *link)
 
 static int cb_gpib_suspend(struct pcmcia_device *link)
 {
-       //struct local_info *info = link->priv;
-       //struct struct gpib_board *dev = info->dev;
-
        if (link->open)
                dev_warn(&link->dev, "Device still open\n");
-       //netif_device_detach(dev);
 
        return 0;
 }
 
 static int cb_gpib_resume(struct pcmcia_device *link)
 {
-       //struct local_info *info = link->priv;
-       //struct struct gpib_board *dev = info->dev;
-
-       /*if (link->open) {
-        *      ni_gpib_probe(dev);     / really?
-        *      //netif_device_attach(dev);
-        *
-        */
        return cb_gpib_config(link);
 }