2007-08-23 02:25:28

by Satyam Sharma

[permalink] [raw]
Subject: [PATCH][trivial] drivers/video/geode/lxfb_core.c: Fix build warning


drivers/video/geode/lxfb_core.c: In function 'lxfb_setup':
drivers/video/geode/lxfb_core.c:564: warning: unused variable 'opt'

Signed-off-by: Satyam Sharma <[email protected]>

---

drivers/video/geode/lxfb_core.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/video/geode/lxfb_core.c b/drivers/video/geode/lxfb_core.c
index 5e30b40..67d6bf6 100644
--- a/drivers/video/geode/lxfb_core.c
+++ b/drivers/video/geode/lxfb_core.c
@@ -561,8 +561,6 @@ static struct pci_driver lxfb_driver = {
#ifndef MODULE
static int __init lxfb_setup(char *options)
{
- char *opt;
-
if (!options || !*options)
return 0;