]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/platform/x86/hp-wmi.c
Merge branch 'drm-radeon-kms' of git://git.kernel.org/pub/scm/linux/kernel/git/airlie...
[mirror_ubuntu-zesty-kernel.git] / drivers / platform / x86 / hp-wmi.c
index 4ac2311c00afe9fae55fcf1334522a564fd943e5..ca508564a18144a519ee84c3d88c549b7b5d8ae7 100644 (file)
@@ -171,7 +171,7 @@ static int hp_wmi_tablet_state(void)
 static int hp_wmi_set_block(void *data, bool blocked)
 {
        unsigned long b = (unsigned long) data;
-       int query = BIT(b + 8) | ((!!blocked) << b);
+       int query = BIT(b + 8) | ((!blocked) << b);
 
        return hp_wmi_perform_query(HPWMI_WIRELESS_QUERY, 1, query);
 }