staging: ks7010: remove unnecessary address check
authorTobin C. Harding <me@tobin.cc>
Thu, 27 Apr 2017 01:25:12 +0000 (11:25 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Apr 2017 09:45:49 +0000 (11:45 +0200)
commit208c66f2fb3d9cd398386785aae116753a27e8c4
tree750f6e51d8f20b95aafebbd00791c061b40176f7
parent6d27f590112f356310a853f3b7dc6843cd72f786
staging: ks7010: remove unnecessary address check

Currently source and destination ethernet addresses are checked twice,
once in hostif_data_indication() and then again in
hostif_data_indication_wpa(). The second of these functions is called
from the first right after the address check is done. This check is a
duplicate and is unnecessary.

Remove unnecessary duplicate address check.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c