kernel: Fix compile warning
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 23 Jan 2022 00:48:28 +0000 (01:48 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 28 Jan 2022 20:58:26 +0000 (21:58 +0100)
commit764b1ecb69038c10009f82ecfdf5809d391b6226
treeb1fac8418423bf3955db6565e77d96a5bcc6d50a
parentfcb29171bc9a3a80c2685ef23ba6552abef04bbb
kernel: Fix compile warning

This fixes the following compile warning:
  CC      init/do_mounts.o
init/do_mounts.c:478:19: warning: 'mount_ubi_rootfs' defined but not used [-Wunused-function]
  478 | static int __init mount_ubi_rootfs(void)
      |                   ^~~~~~~~~~~~~~~~

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/pending-5.10/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
target/linux/generic/pending-5.4/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch