Message ID | 20210702111149.15517-1-colin.king@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | paride: remove redudant space character check | expand |
diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c index 3b5882bfb736..2f7aa8521395 100644 --- a/drivers/block/paride/pg.c +++ b/drivers/block/paride/pg.c @@ -429,8 +429,6 @@ static void xs(char *buf, char *targ, int len) if (c != ' ' && c != l) l = *targ++ = c; } - if (l == ' ') - targ--; *targ = '\0'; }