net sysfs: Print link speed as signed integer
authorAlexander Stein <alexander.stein@systec-electronic.com>
Mon, 28 Sep 2015 13:05:33 +0000 (15:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 21:56:20 +0000 (14:56 -0700)
commit75c261b51ba19f0791de608f0acfb94956f78c76
tree9b35f0d5d33a6194789e27fcc667c0581ab67e60
parent4c52b1da538800a30f030eeb697366c23daf2ef3
net sysfs: Print link speed as signed integer

Otherwise 4294967295 (MBit/s) (-1) will be printed when there is no link.
Documentation/ABI/testing/sysfs-class-net does not state if this shall be
signed or unsigned.
Also remove the now unused variable fmt_udec.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c