sh_eth: Use bool as return type of sh_eth_is_gether()
authorSimon Horman <horms+renesas@verge.net.au>
Fri, 17 Jan 2014 00:22:27 +0000 (09:22 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jan 2014 02:13:58 +0000 (18:13 -0800)
commit504c8ca55c70fb6cab0b97381e70ad0e143f539e
tree84a62e0dcce4e8db1a5e7ebce840d2d717e92c4c
parent6a7cc41872dd46719fde09756e55e870cd453da8
sh_eth: Use bool as return type of sh_eth_is_gether()

Return a boolean from sh_eth_is_gether() and refactor it as a one-liner.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c