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
..
2020-06-02 13:25:52 -07:00
2020-03-23 07:59:38 +01:00
2020-06-02 15:29:19 -07:00
2020-06-02 13:17:23 -07:00
2020-06-03 13:32:21 -07:00
2020-06-02 15:04:15 -07:00
2020-06-03 20:59:38 -07:00
2020-06-03 15:00:05 -07:00
2020-05-04 10:13:42 -06:00
2020-04-16 13:52:31 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:37:03 -07:00
2020-06-03 20:59:38 -07:00
2020-04-03 15:05:35 -07:00
2020-06-02 12:56:58 -07:00
2020-06-02 13:17:23 -07:00
2020-06-02 15:29:19 -07:00
2020-04-03 14:25:02 -07:00
2020-06-03 15:00:05 -07:00
2020-06-02 10:59:10 -07:00
2020-06-01 15:18:27 -07:00
2020-06-03 20:59:38 -07:00
2020-04-23 09:28:15 -07:00
2020-04-17 06:05:29 -04:00
2020-04-07 19:48:52 -07:00
2020-06-03 15:00:05 -07:00
2020-05-28 11:11:45 -07:00
2020-04-03 15:05:35 -07:00
2020-06-03 14:57:03 -07:00
2020-06-02 12:56:58 -07:00
2020-06-02 15:04:15 -07:00
2020-05-06 15:49:24 +03:00
2020-04-17 10:35:17 -07:00
2020-04-03 13:12:26 -07:00
2020-04-08 10:51:53 -07:00
2020-04-08 10:51:53 -07:00