net/hsr: fix a warning message
commit3d1a54e801b661fdc7a409cfc350b6ee555e00fc
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 21 Nov 2015 10:34:12 +0000 (21 13:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Nov 2015 19:56:15 +0000 (23 14:56 -0500)
treef25bf4d312f706df35abb2783d5e73fa053884b3
parent7d267278a9ece963d77eefec61630223fce08c6c
net/hsr: fix a warning message

WARN_ON_ONCE() takes a condition, it doesn't take an error message.  I
have converted this to WARN() instead.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_device.c