staging: speakup: remove redundant initialization of pointer p_key
authorColin Ian King <colin.king@canonical.com>
Sun, 23 Feb 2020 15:39:54 +0000 (15:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Feb 2020 18:22:07 +0000 (19:22 +0100)
commit42228d9edfa020cda6ebe83e9944acebc0389527
tree0ea5619d44a81fa197820bb0e71022b5e15d5d1b
parent6d95783883634cc7632eb2131b7a2fd649278323
staging: speakup: remove redundant initialization of pointer p_key

Pointer p_key is being initialized with a value that is never read,
it is assigned a new value later on. The initialization is redundant
and can be removed.

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/20200223153954.420731-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/keyhelp.c