]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
HID: intel-ish-hid: using list_head for ipc write queue
authorHong Liu <hong.liu@intel.com>
Tue, 11 Sep 2018 23:44:21 +0000 (16:44 -0700)
committerJiri Kosina <jkosina@suse.cz>
Mon, 24 Sep 2018 09:20:06 +0000 (11:20 +0200)
commitdc4e05d079591c6f69bb28a07bcc13d4f1c9993b
tree16044241d4dbdb7d1544ce6a28bd82cf4d703661
parent946a7773dcb64afa8164c63c378aa087d69f7d8f
HID: intel-ish-hid: using list_head for ipc write queue

Currently wr_msg_ctl_info is used in ishtp_device just for list head
purpose, using list_head directly can save ~150 bytes size for
each replacement.

Also this patch can save ~170 bytes of code size in intel-ish-ipc.ko.

Signed-off-by: Hong Liu <hong.liu@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ipc/ipc.c
drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h