summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2012-03-23 14:28:03 -0400
committerJeff Layton <jlayton@redhat.com>2012-03-23 14:28:03 -0400
commit5ffef7bf1dd582e93b15f8cc735328a556a1d2c4 (patch)
tree0ef4517dfd3b1e9ded2afda62987d1c784f54769 /fs/cifs/connect.c
parentd4e4854fd1c85ac8ba4d6de39703e07704754b85 (diff)
downloadtalos-obmc-linux-5ffef7bf1dd582e93b15f8cc735328a556a1d2c4.tar.gz
talos-obmc-linux-5ffef7bf1dd582e93b15f8cc735328a556a1d2c4.zip
CIFS: Separate protocol-specific code from cifs_readv_receive code
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index cb6e757feb52..007d4dfcaf53 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -338,18 +338,6 @@ requeue_echo:
queue_delayed_work(system_nrt_wq, &server->echo, SMB_ECHO_INTERVAL);
}
-static inline size_t
-header_size(void)
-{
- return sizeof(struct smb_hdr);
-}
-
-static inline size_t
-max_header_size(void)
-{
- return MAX_CIFS_HDR_SIZE;
-}
-
static bool
allocate_buffers(struct TCP_Server_Info *server)
{
OpenPOWER on IntegriCloud