]> git.baikalelectronics.ru Git - kernel.git/commit
net: typhoon: Remove redundant casts
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Tue, 21 Oct 2014 14:51:43 +0000 (16:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Oct 2014 04:41:31 +0000 (00:41 -0400)
commitc72a3672352729c93eac096f48b72b64eff42ebb
tree5355628bbed52b69683ad28fe0a8415fb0d201d8
parent822095488633715d6d2f9f3725745f20eb1a251d
net: typhoon: Remove redundant casts

Both image_data and typhoon_fw->data are const u8*, so the cast to u8*
is unnecessary and confusing.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: David Dillow <dave@thedillows.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/3com/typhoon.c