hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/sound/firewire/fcp.c
....@@ -1,8 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Function Control Protocol (IEC 61883-1) helper functions
34 *
45 * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
5
- * Licensed under the terms of the GNU General Public License, version 2.
66 */
77
88 #include <linux/device.h>
....@@ -240,9 +240,7 @@
240240 t.response_match_bytes = response_match_bytes;
241241 t.state = STATE_PENDING;
242242 init_waitqueue_head(&t.wait);
243
-
244
- if (*(const u8 *)command == 0x00 || *(const u8 *)command == 0x03)
245
- t.deferrable = true;
243
+ t.deferrable = (*(const u8 *)command == 0x00 || *(const u8 *)command == 0x03);
246244
247245 spin_lock_irq(&transactions_lock);
248246 list_add_tail(&t.list, &transactions);