linux/drivers/staging
H Hartley Sweeten 68ad0ae0ea staging: comedi: s626: remove 'allocatedBuf' from private data
This variable is only used to count the number of dma buffers
allocated during the attach. If an allocation fails, the attach
function exits with -ENOMEM. When this variable is checked later
it will always be == 2. Just remove the variable and the check.

This allows bringing the code back an indent level in
s626_initialize(). Note, coding style issues in this function
are not addressed yet.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-26 09:37:31 -07:00
..
android
asus_oled
bcm Staging: bcm: Remove typedef for _stCPacketClassificationRuleSI and call directly. 2012-09-26 09:31:52 -07:00
ccg
ced1401 staging:ced1401: remove read write callbacks from fops 2012-09-21 08:56:41 -07:00
comedi staging: comedi: s626: remove 'allocatedBuf' from private data 2012-09-26 09:37:31 -07:00
cptm1217
crystalhd
csr staging: Fix spelling of "asynchronous" in comments. 2012-09-21 08:56:41 -07:00
cxt1e1
echo
et131x
frontier
ft1000
gdm72xx
iio staging:iio:dummy: Fix potential NULL pointer dereference 2012-09-22 10:55:08 +01:00
imx-drm staging: drm/imx: Add TODO 2012-09-21 09:17:07 -07:00
ipack
keucr
line6
media
net
nvec
octeon
olpc_dcon
omap-thermal staging: omap-thermal: bandgap: fix setting of alert thresholds 2012-09-21 08:56:40 -07:00
omapdrm
ozwpan staging: ozwpan: compare pointer to NULL rather than 0 2012-09-19 09:28:14 +01:00
panel staging: Fix misspellings of "whether". 2012-09-21 08:56:40 -07:00
phison
quickstart
ramster
rtl8187se
rtl8192e staging: Fix misspellings of "whether". 2012-09-21 08:56:40 -07:00
rtl8192u staging: Fix misspellings of "whether". 2012-09-21 08:56:40 -07:00
rtl8712 staging: rtl8712: fix foo* bar (foo*) errors reported by checkpatch 2012-09-26 09:23:31 -07:00
rts5139 staging: rts5139: use kzalloc() to close an info leak 2012-09-26 09:19:50 -07:00
rts_pstor staging/rts_pstor: Delete some lines (dev_info() and dev_err()) in rtsx.c 2012-09-21 08:56:41 -07:00
sbe-2t3e3 staging: sbe-2t3e3: fix error handling in t3e3_init_channel() 2012-09-25 15:48:25 -07:00
sep
serqt_usb2
silicom staging: fix silicom dependencies and build errors 2012-09-21 08:56:40 -07:00
slicoss
sm7xxfb staging: sm7xxfb: remove smtc_VRAMBaseAddress 2012-09-17 14:57:53 -07:00
speakup
ste_rmi4
telephony staging: Fix spelling of "asynchronous" in comments. 2012-09-21 08:56:41 -07:00
tidspbridge staging: tidspbridge: fix return value check in dsp_wdt_init() 2012-09-21 09:02:23 -07:00
usbip staging: usbip: vhci_hcd: Fixed oops during removal of vhci_hcd 2012-09-21 08:56:40 -07:00
vme
vt6655
vt6656
winbond Staging: winbond: Removed undesired spaces, lines and tabs 2012-09-26 09:18:46 -07:00
wlags49_h2
wlags49_h25
wlan-ng staging "wlan-ng" Fix typos. 2012-09-26 09:19:50 -07:00
xgifb
zcache
zram
zsmalloc
Kconfig staging: drm/imx: Add i.MX drm core support 2012-09-21 09:15:00 -07:00
Makefile staging: drm/imx: Add i.MX drm core support 2012-09-21 09:15:00 -07:00
staging.c