kernel-ark/drivers/staging/otus
horms@vergenet.net e36e8c0add Staging: otus: Fix ZM_SEQ_DEBUG macro for no-debug case
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>
2010-03-03 16:42:41 -08:00
..
80211core Staging: otus: Fix ZM_SEQ_DEBUG macro for no-debug case 2010-03-03 16:42:41 -08:00
hal Staging: otus: remove unused constants 2010-03-03 16:42:41 -08:00
apdbg.c Staging: otus: fix some sparse warnings 2010-03-03 16:42:27 -08:00
athr_common.h Staging: otus : checkpatch.pl cleanup for header files 2009-12-11 12:23:11 -08:00
ioctl.c Staging: otus: dont mix declarations and code 2010-03-03 16:42:41 -08:00
Kconfig Staging: otus: Add select WEXT_PRIV to Kconfig to prevent build failure 2010-03-03 16:42:40 -08:00
Makefile
oal_dt.h Staging: otus : checkpatch.pl cleanup for header files 2009-12-11 12:23:11 -08:00
oal_marc.h Staging: otus : checkpatch.pl cleanup for header files 2009-12-11 12:23:11 -08:00
TODO staging: document that the wifi staging drivers a bit better 2009-04-03 14:54:27 -07:00
usbdrv.c Staging: otus : checkpatch.pl cleanup for some more .c files 2009-12-11 12:23:11 -08:00
usbdrv.h Staging: otus : checkpatch.pl cleanup for header files 2009-12-11 12:23:11 -08:00
wrap_buf.c Staging: otus : checkpatch.pl cleanup for some more .c files 2009-12-11 12:23:11 -08:00
wrap_dbg.c Staging: otus : checkpatch.pl cleanup for .c files 2009-12-11 12:23:11 -08:00
wrap_ev.c Staging: otus : checkpatch.pl cleanup for some more .c files 2009-12-11 12:23:11 -08:00
wrap_mem.c Staging: otus : checkpatch.pl cleanup for .c files 2009-12-11 12:23:11 -08:00
wrap_mis.c Staging: otus : checkpatch.pl cleanup for some more .c files 2009-12-11 12:23:11 -08:00
wrap_pkt.c Staging: otus : checkpatch.pl cleanup for some more .c files 2009-12-11 12:23:11 -08:00
wrap_sec.c Staging: otus : checkpatch.pl cleanup for some more .c files 2009-12-11 12:23:11 -08:00
wrap_usb.c Staging: otus : checkpatch.pl cleanup for some more .c files 2009-12-11 12:23:11 -08:00
wwrap.c Staging: otus: Drop an unnecessary NULL test 2009-09-15 12:01:33 -07:00
zdcompat.h tree-wide: fix misspelling of "definition" in comments 2009-12-04 23:41:47 +01:00
zdusb.c otus/zdusb.c: additional USB idnetifier 2009-04-17 11:06:31 -07:00
zdusb.h Staging: otus : checkpatch.pl cleanup for header files 2009-12-11 12:23:11 -08:00