smb: fix unused return code warning