mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 12:37:32 +00:00
staging: vt6655: Removing else after break statement to fix warning
This patch fixes the checkpatch.pl warning in key.c file WARNING: else is not useful after a break or return Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
61d566a5a3
commit
0c074871f7
1 changed files with 2 additions and 4 deletions
|
@ -374,9 +374,8 @@ bool KeybRemoveKey(
|
|||
}
|
||||
s_vCheckKeyTableValid(pTable, dwIoBase);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
for (i = 0; i < MAX_KEY_TABLE; i++) {
|
||||
|
@ -394,9 +393,8 @@ bool KeybRemoveKey(
|
|||
}
|
||||
s_vCheckKeyTableValid(pTable, dwIoBase);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue