staging: gdm72xx: use %pI4 format to print IPv4 address and remove last usage of...
authorShan Wei <davidshan@tencent.com>
Wed, 28 Nov 2012 02:54:31 +0000 (10:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 16:48:39 +0000 (08:48 -0800)
commit0df1a84e0ec875d1bc12ac6aca325cb3543a7ad6
treeb9205b4a40449c1beadf04a4bc35eef06ee173f1
parent7f5d6d9d2def045cdf8d25f836b72ce46629814c
staging: gdm72xx: use %pI4 format to print IPv4 address and remove last usage of NIP6

commit cf4ca4874fc45 removed the definition of NIPQUAD and NIPQUAD_FMT,
and NIP6 also is out of date.

commit 2874762b31d8d replace deprecated NIPQUAD marco to C code, but we can use %pI4 to
print IPv4 address more simply. And remove constant condition judge.

Because DEBUG_SDU is not defined in gdm_wimax.h, no error message when compiling.

Signed-off-by: Shan Wei <davidshan@tencent.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/gdm_wimax.c