]> git.hungrycats.org Git - linux/commitdiff
Automerge
authorLinus Torvalds <torvalds@home.transmeta.com>
Sun, 12 Jan 2003 03:42:38 +0000 (19:42 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 12 Jan 2003 03:42:38 +0000 (19:42 -0800)
1  2 
drivers/pnp/interface.c

index e33e5617819cd00b7a01cb8917a1dd052aa30ba2,98ade1763fa657d51ed0fd9bebebd1c954412452..498a77b6a389680471e404bf603540c3be2f605c
@@@ -284,12 -286,12 +284,11 @@@ pnp_set_current_resources(struct devic
  {
        struct pnp_dev *dev = to_pnp_dev(dmdev);
        char    command[20];
-       char    type[20];
        int     num_args;
        int     error = 0;
-       int     depnum, mode = 0;
+       int     depnum;
 -      if (off)
 -              return 0;
 +
-       num_args = sscanf(buf,"%10s %i %10s",command,&depnum,type);
+       num_args = sscanf(buf,"%10s %i",command,&depnum);
        if (!num_args)
                goto done;
        if (!strnicmp(command,"lock",4)) {