net/rocker: Cleanup the useless return value check
authorMao Zhongyi <maozy.fnst@cn.fujitsu.com>
Wed, 24 May 2017 02:57:18 +0000 (10:57 +0800)
committerJason Wang <jasowang@redhat.com>
Wed, 7 Jun 2017 02:58:31 +0000 (10:58 +0800)
commit4cee3cf35c05c863f5acf87af915298c752eefd9
treed52cc7cbd513b23c23a268da4cc0520f765cac15
parent199e19ee538eb61fd08b1c1ee5aa838ebdcc968e
net/rocker: Cleanup the useless return value check

None of pci_dma_read()'s callers check the return value except
rocker. There is no need to check it because it always return
0. So the check work is useless. Remove it entirely.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/rocker/rocker.c
hw/net/rocker/rocker_desc.c