staging: speakup: Fixed else after return or break warning
The following patch fixes the checkpatch.pl warning: drivers/staging/speakup/kobjects.c:812 warning: else is not generally useful after a break or return Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
44396c7bce
commit
1f74d5f688
@ -809,10 +809,10 @@ static ssize_t message_store_helper(const char *buf, size_t count,
|
||||
if (msg_stored == -ENOMEM)
|
||||
reset = 1;
|
||||
break;
|
||||
} else {
|
||||
used++;
|
||||
}
|
||||
|
||||
used++;
|
||||
|
||||
cp = linefeed + 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user