1
0
Fork 0
freescale-linux-fslc/drivers/ieee1394
Stefan Richter 5030c80790 ieee1394: remove unused variables
which caused gcc 4.6 to warn about
    variable 'XYZ' set but not used.

sbp2.c, unit_characteristics:

The underlying problem which was spotted here --- an incomplete
implementation --- is already 50% fixed in drivers/firewire/sbp2.c which
observes mgt_ORB_timeout but not yet ORB_size.

raw1394.c, length_conflict; dv1394.c, ts_off:

Impossible to tell why these variables are there.  We can safely remove
them though because we don't need a compiler warning to realize that we
are dealing with (at least stylistically) flawed code here.

dv1394.c, packet_time:

This was used in debug macro that is only compiled in with
DV1394_DEBUG_LEVEL >= 2 defined at compile-time.  Just drop it since
nobody debugs dv1394 anymore.  Avoids noise in regular kernel builds.

dv1394.c, ohci; eth1394.c, priv:

These variables clearly can go away.  Somebody wanted to use them but
then didn't (or not anymore).

Note, all of this code is considered to be at its end of life and is
thus not really meant to receive janitorial updates anymore.  But if we
can easily remove noisy warnings from kernel builds, we should.

Reported-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2010-06-19 13:01:41 +02:00
..
config_roms.c
config_roms.h
csr.c ieee1394: Storage class should be before const qualifier 2009-03-24 20:56:52 +01:00
csr.h ieee1394: replace CSR_SET_BUS_INFO_GENERATION macro 2009-01-04 23:50:35 +01:00
csr1212.c ieee1394/csr1212: fix false positive kmemcheck report 2009-06-15 15:49:31 +02:00
csr1212.h ieee1394: mark bus_info_data as a __be32 array 2009-01-04 23:50:35 +01:00
dma.c const: mark struct vm_struct_operations 2009-09-27 11:39:25 -07:00
dma.h firesat: copyrights, rename to firedtv, API conversions, fix remote control input 2009-02-24 14:51:26 +01:00
dv1394-private.h ieee1394: dv1394: annotate frame input/output structs as little endian 2009-01-04 23:50:36 +01:00
dv1394.c ieee1394: remove unused variables 2010-06-19 13:01:41 +02:00
dv1394.h
eth1394.c ieee1394: remove unused variables 2010-06-19 13:01:41 +02:00
eth1394.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-01-08 11:05:59 -08:00
highlevel.c ieee1394: Storage class should be before const qualifier 2009-03-24 20:56:52 +01:00
highlevel.h ieee1394: mark all hpsb_address_ops instances as const 2009-01-04 23:50:32 +01:00
hosts.c ieee1394: replace CSR_SET_BUS_INFO_GENERATION macro 2009-01-04 23:50:35 +01:00
hosts.h ieee1394: mark bus_info_data as a __be32 array 2009-01-04 23:50:35 +01:00
ieee1394-ioctl.h
ieee1394.h ieee1394: support for speeds greater than S800 2009-01-28 20:31:05 +01:00
ieee1394_core.c Make ieee1394_init a fs-initcall 2009-02-26 10:32:31 -08:00
ieee1394_core.h fs: Remove i_cindex from struct inode 2009-06-11 21:36:09 -04:00
ieee1394_hotplug.h
ieee1394_transactions.c ieee1394: remove superfluous assertions 2009-02-24 14:51:28 +01:00
ieee1394_transactions.h firesat: copyrights, rename to firedtv, API conversions, fix remote control input 2009-02-24 14:51:26 +01:00
ieee1394_types.h
init_ohci1394_dma.c
iso.c PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
iso.h firesat: copyrights, rename to firedtv, API conversions, fix remote control input 2009-02-24 14:51:26 +01:00
Kconfig firewire, ieee1394: update Kconfig help 2009-12-29 19:58:17 +01:00
Makefile
nodemgr.c ieee1394: annotate bitfield 2009-06-15 15:49:29 +02:00
nodemgr.h ieee1394: constify device ID tables 2009-03-24 20:56:53 +01:00
ohci1394.c ieee1394: Use hweight32 2009-11-18 20:30:35 +01:00
ohci1394.h ieee1394: ohci1394: increase AT req. retries, fix ack_busy_X from Panasonic camcorders and others 2009-01-24 11:17:28 +01:00
pcilynx.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
pcilynx.h ieee1394: pcilynx: trivial endian annotation 2009-01-04 23:50:34 +01:00
raw1394-private.h ieee1394: raw1394: replace BKL by local mutex, make ioctl() and mmap() thread-safe 2008-10-15 22:21:08 +02:00
raw1394.c ieee1394: remove unused variables 2010-06-19 13:01:41 +02:00
raw1394.h
sbp2.c ieee1394: remove unused variables 2010-06-19 13:01:41 +02:00
sbp2.h ieee1394: sbp2: add support for disks >2 TB (and 16 bytes long CDBs) 2009-07-02 21:27:01 +02:00
video1394.c ieee1394: video1394: Use memdup_user 2010-05-31 18:49:52 +02:00
video1394.h