mirror of
https://github.com/samba-team/samba.git
synced 2025-08-24 21:49:29 +03:00
smbd: Remove unused smb_bufrem() macro
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
7ba732bac1
commit
9ec99ab57c
@ -151,7 +151,6 @@
|
||||
#define smb_buflen(buf) (SVAL(buf,smb_vwv0 + (int)CVAL(buf, smb_wct)*2))
|
||||
|
||||
/* the remaining number of bytes in smb buffer 'buf' from pointer 'p'. */
|
||||
#define smb_bufrem(buf, p) (smb_buflen(buf)-PTR_DIFF(p, smb_buf(buf)))
|
||||
#define smbreq_bufrem(req, p) (req->buflen - PTR_DIFF(p, req->buf))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user