staging: vt6655: Fix unused function warning
authorGuillaume Clement <gclement@baobob.org>
Tue, 22 Jul 2014 20:08:30 +0000 (22:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jul 2014 22:03:13 +0000 (15:03 -0700)
commit8e3bec324e59aeedbef749ba2a3a2c00db1c75cf
tree8d944b8f448ac685f178e257e67483a5b46b6e93
parent2b3f41c723752b8ee6383256246b090f5b9f212c
staging: vt6655: Fix unused function warning

Sparse reports that MimeThread is not used. Actually, it can be used
if THREAD is defined. By enclosing the MimeThread function into the
same #ifdef as the caller of MimeThread, this fixes the sparse
warnings.

Signed-off-by: Guillaume Clement <gclement@baobob.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c
This page took 0.024406 seconds and 5 git commands to generate.