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:
Dilek Uzulmez 2014-10-08 19:01:47 +03:00 committed by Greg Kroah-Hartman
parent 61d566a5a3
commit 0c074871f7

View file

@ -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;