m68k: mvme16x: Remove unused sink in mvme16x_cons_write()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 13 Sep 2023 14:08:24 +0000 (16:08 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 6 Oct 2023 08:03:03 +0000 (10:03 +0200)
commit0c2a527e28ee8290a60a7105fc4c302922944bfe
tree121657804ce2ee4b95ae39c102ae60628fa4f190
parent7f5514b4ed70719a50b0a7c6ad7f4ce6d0f28efe
m68k: mvme16x: Remove unused sink in mvme16x_cons_write()

When building with W=1:

    arch/m68k/mvme16x/config.c: In function ‘mvme16x_cons_write’:
    arch/m68k/mvme16x/config.c:211:25: warning: variable ‘sink’ set but not used [-Wunused-but-set-variable]
      211 |         volatile u_char sink;
  |                         ^~~~

Fix this by removing the unused variable and assignment.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/22c4d1978f811d7f4495eeb269ce06304717627a.1694613528.git.geert@linux-m68k.org
arch/m68k/mvme16x/config.c