]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: most: hdm-usb: remove repeated access to structure
authorChristian Gromm <christian.gromm@microchip.com>
Fri, 9 Sep 2016 13:25:43 +0000 (15:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 07:47:15 +0000 (09:47 +0200)
commit98a3c4d7ae9ad0ca8a8edbed5f37e559673aa3ac
tree2aca11a3c7ff363205b649fb60d3f52ceebf4cea
parent3e2880bee53b22b35df3cbbd58ffc84c2ba5c0e6
staging: most: hdm-usb: remove repeated access to structure

This patch removes the repeated access to a struct member by assigning
its value to a local variable once.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-usb/hdm_usb.c