Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c074871 authored by Dilek Uzulmez's avatar Dilek Uzulmez Committed by Greg Kroah-Hartman
Browse files

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: default avatarDilek Uzulmez <dilekuzulmez@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 61d566a5
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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;