[PARISC] stop lcd driver from stripping initial whitespace
authorJulian Stecklina <der_julian@web.de>
Mon, 18 Jun 2007 17:56:28 +0000 (19:56 +0200)
committerKyle McMartin <kyle@minerva.i.cabal.ca>
Thu, 21 Jun 2007 21:46:19 +0000 (17:46 -0400)
Signed-off-by: Julian Stecklina <der_julian@web.de>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
drivers/parisc/led.c

index 98be2880757d90fe48a5e2947bada642568f3261..e5d7ed92d6f780ba746b177c14cf6eab9b814bfe 100644 (file)
@@ -195,12 +195,6 @@ static int led_proc_write(struct file *file, const char *buf,
 
        cur = lbuf;
 
 
        cur = lbuf;
 
-       /* skip initial spaces */
-       while (*cur && isspace(*cur))
-       {
-               cur++;
-       }
-
        switch ((long)data)
        {
        case LED_NOLCD:
        switch ((long)data)
        {
        case LED_NOLCD: