summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorOscar Carter <oscar.carter@gmx.com>2020-04-14 17:38:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-16 13:40:22 +0200
commit8a29fb1fcf4e2466632924c9496e5030c1a8c4bc (patch)
treeeb970afd2049a22ba34ad671edbb4745180c26c5 /include/linux/workqueue.h
parent8b0eb26ad5f3c717e0b2cf58e7ffd9eb9ba165e6 (diff)
staging: vt6656: Refactor the assignment of the phy->signal variable
Create a constant array with the values of the "phy->signal" for every rate. Remove all "phy->signal" assignments inside the switch statement and replace these with a single reading from the new vnt_phy_signal array. The constant array can be of one dimension because the OR mask with BIT(3) or BIT(4) allow obtain a second value according to the rate, the preamble_type and the pkt_type. Signed-off-by: Oscar Carter <oscar.carter@gmx.com> Link: https://lore.kernel.org/r/20200414153849.5785-5-oscar.carter@gmx.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions