cifs: remove useless DeleteMidQEntry()
authorEnzo Matsumiya <ematsumiya@suse.de>
Fri, 5 Aug 2022 14:47:38 +0000 (11:47 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 5 Aug 2022 16:24:06 +0000 (11:24 -0500)
commit70f08f914a37a0881a7f17068e03ff5a5024822d
tree148a02579daf21489bd6155dc9b7d0ed32fddbb1
parentfb157ed226d225b6a149ed63a7831f6bdde7b911
cifs: remove useless DeleteMidQEntry()

DeleteMidQEntry() was just a proxy for cifs_mid_q_entry_release().

- remove DeleteMidQEntry()
- rename cifs_mid_q_entry_release() to release_mid()
- rename kref_put() callback _cifs_mid_q_entry_release to __release_mid
- rename AllocMidQEntry() to alloc_mid()
- rename cifs_delete_mid() to delete_mid()

Update callers to use new names.

Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/connect.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2transport.c
fs/cifs/transport.c