mt76: usb: remove unneeded {put,get}_unaligned
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 9 Jul 2019 15:14:55 +0000 (17:14 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2019 15:42:29 +0000 (17:42 +0200)
commit8f72e98e9c9182732bb26ef43750de3c382b2221
tree92c549a8eb1d5dc3f722aacb9e73d197e43b3dad
parentb229bf7d30d67c2640073b63ad8afff503630578
mt76: usb: remove unneeded {put,get}_unaligned

Compiler give us guarantees on variables alignment, so use
an variable as buffer when read/write registers and remove
unneeded {put,get}_unaligned.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/usb.c