Commit 473baa2d authored by Mike Rapoport's avatar Mike Rapoport Committed by Greg Kroah-Hartman

staging: sm750fb: lynxfb_pci_remove: remove unused variable

The par variable in lynxfb_pci_remove is only assigned a value and never
used afterwards. Remove it.
Signed-off-by: default avatarMike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent baf24530
...@@ -1138,7 +1138,6 @@ static void lynxfb_pci_remove(struct pci_dev *pdev) ...@@ -1138,7 +1138,6 @@ static void lynxfb_pci_remove(struct pci_dev *pdev)
{ {
struct fb_info *info; struct fb_info *info;
struct sm750_dev *sm750_dev; struct sm750_dev *sm750_dev;
struct lynxfb_par *par;
int cnt; int cnt;
cnt = 2; cnt = 2;
...@@ -1148,7 +1147,6 @@ static void lynxfb_pci_remove(struct pci_dev *pdev) ...@@ -1148,7 +1147,6 @@ static void lynxfb_pci_remove(struct pci_dev *pdev)
info = sm750_dev->fbinfo[cnt]; info = sm750_dev->fbinfo[cnt];
if (!info) if (!info)
continue; continue;
par = info->par;
unregister_framebuffer(info); unregister_framebuffer(info);
/* release frame buffer */ /* release frame buffer */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment