linux/drivers/staging
Linus Torvalds 6929f71e46 atomisp: avoid warning about unused function
The atomisp_mrfld_power() function isn't actually ever called, because
the two call-sites have commented out the use because it breaks on some
platforms.  That results in:

  drivers/staging/media/atomisp/pci/atomisp_v4l2.c:764:12: warning: ‘atomisp_mrfld_power’ defined but not used [-Wunused-function]
    764 | static int atomisp_mrfld_power(struct atomisp_device *isp, bool enable)
        |            ^~~~~~~~~~~~~~~~~~~

during the build.

Rather than commenting out the use entirely, just disable it
semantically instead (using a "0 &&" construct), leaving the call in
place from a syntax standpoint, and avoiding the warning.

I really don't want my builds to have any warnings that can then hide
real issues.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-03 21:22:46 -07:00
..
android staging: android: ion: use vmap instead of vm_map_ram 2020-06-02 10:59:10 -07:00
axis-fifo
board
clocking-wizard
comedi Merge branch 'uaccess.comedi' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-06-03 15:55:45 -07:00
emxx_udc
fbtft
fieldbus
fsl-dpaa2 docs: networking: convert switchdev.txt to ReST 2020-04-30 12:56:38 -07:00
fwserial
gasket staging: gasket: Check the return value of gasket_get_bar_index() 2020-05-05 12:36:05 +02:00
gdm724x
goldfish
greybus mmc: host: Drop redundant MMC_CAP_ERASE 2020-05-28 11:22:14 +02:00
gs_fpgaboot
iio staging: iio: ad2s1210: Fix SPI reading 2020-05-03 12:35:03 +01:00
kpc2000 staging: kpc2000: fix error return code in kp2000_pcie_probe() 2020-05-13 14:00:20 +02:00
ks7010 staging: ks7010: remove me from CC list 2020-05-05 12:36:04 +02:00
media atomisp: avoid warning about unused function 2020-06-03 21:22:46 -07:00
most Staging/IIO driver patches for 5.7-rc1 2020-03-30 14:20:41 -07:00
mt7621-dma
mt7621-dts
mt7621-pci
mt7621-pci-phy
mt7621-pinctrl
netlogic
nvec
octeon staging/octeon: fix up merge error 2020-03-30 17:22:01 -07:00
octeon-usb
olpc_dcon
pi433
qlge Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-03-31 17:29:33 -07:00
ralink-gdma
rtl8188eu staging: rtl8188eu: cleanup long line in odm.c 2020-03-26 15:45:08 +01:00
rtl8192e
rtl8192u Staging: rtl8192u: ieee80211: Use netdev_alert(). 2020-03-26 16:58:23 +01:00
rtl8712
rtl8723bs staging: rtl8723bs: remove mgmt_frame_register method 2020-04-29 16:03:24 +02:00
rts5208
sm750fb
speakup Char/Misc driver patches for 5.7-rc1 2020-04-03 13:22:40 -07:00
unisys
vc04_services Staging/IIO driver patches for 5.7-rc1 2020-03-30 14:20:41 -07:00
vme
vt6655
vt6656 staging: vt6656: Fix calling conditions of vnt_set_bss_mode 2020-04-23 13:47:34 +02:00
wfx staging: wfx: unlock on error path 2020-05-13 14:00:44 +02:00
wilc1000 staging: wilc1000: adjust for management frame register API changes 2020-04-29 16:03:28 +02:00
wlan-ng staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback 2020-03-26 15:47:26 +01:00
Kconfig staging: remove hp100 driver 2020-03-27 10:01:11 +01:00
Makefile staging: remove hp100 driver 2020-03-27 10:01:11 +01:00