e36e8c0add
tcp_seq is only initialised in case where ZM_ENABLE_PERFORMANCE_EVALUATION is defined. So move the call to ZM_SEQ_DEBUG() and the decleration of tcp_seq in there too. This allows ZM_SEQ_DEBUG() to be removed from the non-ZM_ENABLE_PERFORMANCE_EVALUATION case in the header file. This resolves several compile warnings for the non-ZM_ENABLE_PERFORMANCE_EVALUATION case. However, the ZM_ENABLE_PERFORMANCE_EVALUATION case seems to be completely broken. $ gcc (Debian 4.4.2-8) 4.4.2 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ make ... drivers/staging/otus/80211core/cagg.c: In function 'zfAggRxEnabled': drivers/staging/otus/80211core/cagg.c:1872: warning: left-hand operand of comma expression has no effect drivers/staging/otus/80211core/cagg.c:1872: warning: left-hand operand of comma expression has no effect drivers/staging/otus/80211core/cagg.c:1872: warning: statement with no effect ... Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
80211core | ||
hal | ||
apdbg.c | ||
athr_common.h | ||
ioctl.c | ||
Kconfig | ||
Makefile | ||
oal_dt.h | ||
oal_marc.h | ||
TODO | ||
usbdrv.c | ||
usbdrv.h | ||
wrap_buf.c | ||
wrap_dbg.c | ||
wrap_ev.c | ||
wrap_mem.c | ||
wrap_mis.c | ||
wrap_pkt.c | ||
wrap_sec.c | ||
wrap_usb.c | ||
wwrap.c | ||
zdcompat.h | ||
zdusb.c | ||
zdusb.h |