mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ea39cd0e42
commit
1520007aa3
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user