diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-07-24 21:13:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-24 15:09:59 -0700 |
commit | cbcc9a365a8a5a673f4b15bfcc4e1b18b9f69db4 (patch) | |
tree | c9165c00c6877d3ace0ceb0cb44d3ae699b8432c /drivers/staging/vt6656/wcmd.c | |
parent | fa4b5c74ea6cb47bdebf9696b8f8118c3fbd813b (diff) | |
download | linux-cbcc9a365a8a5a673f4b15bfcc4e1b18b9f69db4.tar.bz2 |
staging: vt6656: use test_bit to check flags status
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/wcmd.c')
-rw-r--r-- | drivers/staging/vt6656/wcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c index e5330e3ce407..8f6417bcaed2 100644 --- a/drivers/staging/vt6656/wcmd.c +++ b/drivers/staging/vt6656/wcmd.c @@ -97,7 +97,7 @@ void vnt_run_command(struct work_struct *work) struct vnt_private *priv = container_of(work, struct vnt_private, run_command_work.work); - if (priv->flags & DEVICE_FLAGS_DISCONNECTED) + if (test_bit(DEVICE_FLAGS_DISCONNECTED, &priv->flags)) return; if (priv->cmd_running != true) |