Date: Thu, 18 Jul 2024 22:23:18 GMT From: Doug Moore <dougm@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: e82cee21ba3b - main - axgbe: drop unused function Message-ID: <202407182223.46IMNI2j090800@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dougm: URL: https://cgit.FreeBSD.org/src/commit/?id=e82cee21ba3b4410771b7a9e94e9fac013f24ee4 commit e82cee21ba3b4410771b7a9e94e9fac013f24ee4 Author: Doug Moore <dougm@FreeBSD.org> AuthorDate: 2024-07-18 22:21:45 +0000 Commit: Doug Moore <dougm@FreeBSD.org> CommitDate: 2024-07-18 22:21:45 +0000 axgbe: drop unused function A recent change dropped the only use of fls64() in axgbe, so drop its definition. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D46030 --- sys/dev/axgbe/xgbe_osdep.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sys/dev/axgbe/xgbe_osdep.h b/sys/dev/axgbe/xgbe_osdep.h index cea8b4797bf9..1f0359657dcd 100644 --- a/sys/dev/axgbe/xgbe_osdep.h +++ b/sys/dev/axgbe/xgbe_osdep.h @@ -232,13 +232,6 @@ __ffsl(long mask) return (ffsl(mask) - 1); } -static inline int -fls64(uint64_t mask) -{ - - return (flsll(mask)); -} - static inline int get_bitmask_order(unsigned int count) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407182223.46IMNI2j090800>