]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osdc: remove unused rados.h include from error_code.h 64260/head
authorKefu Chai <tchaikov@gmail.com>
Mon, 30 Jun 2025 08:48:09 +0000 (16:48 +0800)
committerKefu Chai <tchaikov@gmail.com>
Mon, 30 Jun 2025 08:51:28 +0000 (16:51 +0800)
Remove unnecessary `#include "include/rados.h"` from error_code.h as it's not
used by the header and error_code.h doesn't need to expose any RADOS
declarations.

This improves compilation time and reduces unnecessary dependencies.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/osdc/error_code.h

index 88d6f080a8a41f19975e3171f1ffb300e57341fe..8882749abf5879fabbecd5d0ef0b5c5592dc6da1 100644 (file)
@@ -17,8 +17,6 @@
 
 #include <boost/system/error_code.hpp>
 
-#include "include/rados.h"
-
 const boost::system::error_category& osdc_category() noexcept;
 
 enum class osdc_errc {