linux-hardened/drivers/staging
NeilBrown 4a8d3fb10d staging: lustre: ldlm: remove unnecessary 'ownlocks' variable.
Now that the code has been simplified, 'ownlocks' is not
necessary.

The loop which sets it exits with 'lock' having the same value as
'ownlocks', or pointing to the head of the list if ownlocks is NULL.

The current code then tests ownlocks and sets 'lock' to exactly the
value that it currently has.

So discard 'ownlocks'.

Also remove unnecessary initialization of 'lock'.

Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-03 15:00:34 +01:00
..
android staging: ion: simplify ioctl args checking function 2017-11-02 11:44:46 +01:00
board
ccree staging: ccree: Fix indentation in ssi_buffer_mgr.c 2017-11-02 11:39:44 +01:00
clocking-wizard
comedi staging: comedi: adv_pci_dio: update for PCI-1761 2017-10-18 15:45:48 +02:00
dgnc staging: dgnc: Convert timers to use timer_setup() 2017-10-18 16:18:31 +02:00
emxx_udc staging: emxx_udc: Update "reserved" registers name 2017-05-15 07:42:00 +02:00
fbtft staging: fbtft: differentiate between buffer and data types to fix sparse warning 2017-10-18 15:58:33 +02:00
fsl-dpaa2 staging: fsl-dpaa2/eth: Add firmware version 2017-10-18 16:45:19 +02:00
fsl-mc staging: fsl-mc/dpio: Fix incorrect comparison 2017-10-03 18:34:56 +02:00
fwserial staging/fwserial: Convert timers to use timer_setup() 2017-10-18 16:18:31 +02:00
gdm724x staging: gdm724x: fix return codes in gdm_lte 2017-10-20 14:42:50 +02:00
goldfish staging: goldfish: (Coding Style) Fixed parenthesis alignment. 2017-08-31 18:21:37 +02:00
greybus staging: greybus: remove unused kfifo_ts 2017-11-03 13:30:58 +01:00
gs_fpgaboot staging: gs_fpgaboot: pr_err() strings should end with newlines 2017-10-03 18:36:25 +02:00
iio Third set of new device support, cleanups and features for IIO in the 4.15 cycle 2017-10-27 11:13:08 +02:00
irda staging/irda-usb: Convert timers to use timer_setup() 2017-10-20 14:42:50 +02:00
ks7010 staging: ks7010: Convert timers to use timer_setup() 2017-11-03 12:48:56 +01:00
lustre staging: lustre: ldlm: remove unnecessary 'ownlocks' variable. 2017-11-03 15:00:34 +01:00
media Merge 4.14-rc6 into staging-next 2017-10-23 14:29:43 +02:00
most staging: most: hdm_usb: Driver registration with module_driver macro 2017-08-27 19:59:10 +02:00
mt29f_spinand staging: mt29f_spinand: Enable the read ECC before program the page 2017-09-18 12:25:31 +02:00
netlogic staging: net: netlogic: Fix alignment issue 2017-10-18 16:17:14 +02:00
nvec staging: nvec: explicitly request exclusive reset control 2017-07-30 08:28:21 -07:00
octeon staging: octeon: fix line over 80 characters 2017-08-18 15:57:17 -07:00
octeon-usb staging: octeon-usb: use correct function for hcd cleanup 2017-05-15 07:43:55 +02:00
olpc_dcon staging: olpc_dcon: remove pointless debug printk in dcon_freeze_store() 2017-08-28 10:27:29 +02:00
pi433 staging: pi433: rf69.c style fix - space before asterisk 2017-10-18 15:56:32 +02:00
rtl8188eu staging: rtl8188eu: avoid a null dereference on pmlmepriv 2017-11-03 12:48:55 +01:00
rtl8192e staging: rtl8192e: mark expected switch fall-through 2017-10-18 15:44:39 +02:00
rtl8192u staging: rtl8192u: Convert timers to use timer_setup() 2017-10-18 15:44:39 +02:00
rtl8712 staging: rtl8712: Convert timers to use timer_setup() 2017-10-18 16:18:31 +02:00
rtl8723bs staging: rtl8723bs: Convert timers to use timer_setup() 2017-11-03 14:49:08 +01:00
rtlwifi staging: rtl8822be: fix wrong dma unmap len 2017-11-03 14:49:08 +01:00
rts5208 staging: rts5208: fix gcc-8 logic error warning 2017-09-17 16:35:25 +02:00
skein staging: skein: move macros into header file 2017-07-28 17:06:43 -07:00
sm750fb staging: sm750fb: Remove typedef struct _dvi_ctrl_device_t 2017-10-03 18:12:27 +02:00
speakup Merge 4.14-rc4 into staging-next 2017-10-09 09:02:35 +02:00
typec staging: typec: tcpci: mark expected switch fall-through in tcpci_to_typec_cc 2017-10-18 16:42:28 +02:00
unisys staging: unisys: Fix incorrect unisys MAINTAINERS pattern 2017-11-02 11:45:57 +01:00
vboxvideo staging: vboxvideo: Fix reporting invalid suggested-offset-properties 2017-10-18 16:44:00 +02:00
vc04_services staging: vc04_services: Convert timers to use timer_setup() 2017-11-02 11:42:17 +01:00
vme staging: VME: Remove PIO2 driver 2017-11-03 14:49:08 +01:00
vt6655 staging: vt6655: mark expected switch fall-throughs in vnt_set_keymode 2017-10-18 16:42:28 +02:00
vt6656 staging: vt6656: card: mark expected switch fall-throughs 2017-10-18 16:21:26 +02:00
wilc1000 staging: wilc1000: replace redundant computations with 0 2017-10-18 16:42:28 +02:00
wlan-ng staging: wlan-ng: Convert timers to use timer_setup() 2017-10-20 14:42:50 +02:00
xgifb staging: xgifb: make const array static to shink object code size 2017-09-22 10:57:22 +02:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-09-06 14:45:08 -07:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-09-06 14:45:08 -07:00