]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit488167266c125d997360bd19ab6073f2b6fda893
treeb9205b4a40449c1beadf04a4bc35eef06ee173f1
parent3835deef7b7c6062d8da08c8ae5405c40fba5a1e
staging: gdm72xx: use %pI4 format to print IPv4 address and remove last usage of NIP6

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

commit 014a2bf75708e 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