From b99859b948f31dbe474b6ce0c6cab601e7e7bc56 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 30 Jan 2009 23:29:37 +0100 Subject: Make is_andx_req non-static --- source3/libsmb/async_smb.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'source3/libsmb/async_smb.c') diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c index a4bbe6d79d..18e5a71ee2 100644 --- a/source3/libsmb/async_smb.c +++ b/source3/libsmb/async_smb.c @@ -151,32 +151,6 @@ bool cli_in_chain(struct cli_state *cli) return (cli->chain_accumulator->num_async != 0); } -/** - * Is the SMB command able to hold an AND_X successor - * @param[in] cmd The SMB command in question - * @retval Can we add a chained request after "cmd"? - */ - -static bool is_andx_req(uint8_t cmd) -{ - switch (cmd) { - case SMBtconX: - case SMBlockingX: - case SMBopenX: - case SMBreadX: - case SMBwriteX: - case SMBsesssetupX: - case SMBulogoffX: - case SMBntcreateX: - return true; - break; - default: - break; - } - - return false; -} - /** * @brief Find the smb_cmd offset of the last command pushed * @param[in] buf The buffer we're building up -- cgit