diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/geode/lxfb_core.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/video/geode/lxfb_core.c b/drivers/video/geode/lxfb_core.c index 5e30b40c8c0f..583185fd7c94 100644 --- a/drivers/video/geode/lxfb_core.c +++ b/drivers/video/geode/lxfb_core.c | |||
@@ -566,12 +566,7 @@ static int __init lxfb_setup(char *options) | |||
566 | if (!options || !*options) | 566 | if (!options || !*options) |
567 | return 0; | 567 | return 0; |
568 | 568 | ||
569 | while (1) { | 569 | while ((opt = strsep(&options, ",")) != NULL) { |
570 | char *opt = strsep(&options, ","); | ||
571 | |||
572 | if (opt == NULL) | ||
573 | break; | ||
574 | |||
575 | if (!*opt) | 570 | if (!*opt) |
576 | continue; | 571 | continue; |
577 | 572 | ||