iscsi-target: use common inet_addr_is_any
authorSagi Grimberg <sagi@grimberg.me>
Thu, 25 Jan 2018 11:56:46 +0000 (13:56 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Mar 2018 14:53:43 +0000 (08:53 -0600)
commit7bfca0cfe60554faa6e9dafa97a4282fb035576b
tree7570f0ffdf5d80ed246b57fb1d0b00f8e2d55111
parent4c65268588102014837b2d09e5a02557e5d3fc9e
iscsi-target: use common inet_addr_is_any

Instead of open-coding it.

Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Cc: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
Cc: target-devel@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/target/iscsi/iscsi_target.c