]> 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)
commit10c51444247f6f6a0cf5a4bcd7a30687230021e1
tree5355628bbed52b69683ad28fe0a8415fb0d201d8
parent3dcb6bec3e3c465d339f5699e1daf470220d1f2b
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