From: Alex Elder Date: Fri, 15 Feb 2013 17:42:29 +0000 (-0600) Subject: libceph: kill ceph_calc_raw_layout() X-Git-Tag: v3.9-rc1~41^2~21^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60e56f138180e72fa8487d4b9c1c916013494f46;p=pandora-kernel.git libceph: kill ceph_calc_raw_layout() There is no caller of ceph_calc_raw_layout() outside of libceph, so there's no need to export from the module. Furthermore, there is only one caller, in calc_layout(), and it is not much more than a simple wrapper for that function. So get rid of ceph_calc_raw_layout() and embed it instead within calc_layout(). While touching "osd_client.c", get rid of the unnecessary forward declaration of __send_request(). Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed