lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CABymUCMha=XE_=LDNXiJDzhNCpGU4bckuNkoCAmb_bWO8bPu0w@mail.gmail.com> Date: Tue, 21 Mar 2023 15:05:07 +0800 From: Jun Nie <jun.nie@...aro.org> To: Tom Rix <trix@...hat.com> Cc: heikki.krogerus@...ux.intel.com, gregkh@...uxfoundation.org, nathan@...nel.org, ndesaulniers@...gle.com, sven@...npeter.dev, agx@...xcpu.org, Jonathan.Cameron@...wei.com, u.kleine-koenig@...gutronix.de, linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org, llvm@...ts.linux.dev Subject: Re: [PATCH] usb: typec: tipd: remove unused tps6598x_write16,32 functions Tom Rix <trix@...hat.com> 于2023年3月19日周日 21:37写道: > > clang with W=1 reports > drivers/usb/typec/tipd/core.c:180:19: error: unused function > 'tps6598x_write16' [-Werror,-Wunused-function] > static inline int tps6598x_write16(struct tps6598x *tps, u8 reg, u16 val) > ^ > drivers/usb/typec/tipd/core.c:185:19: error: unused function > 'tps6598x_write32' [-Werror,-Wunused-function] > static inline int tps6598x_write32(struct tps6598x *tps, u8 reg, u32 val) > ^ > These static functions are not used, so remove them. > > Signed-off-by: Tom Rix <trix@...hat.com> > --- > drivers/usb/typec/tipd/core.c | 10 ---------- > 1 file changed, 10 deletions(-) > Reviewed-by: Jun Nie <jun.nie@...aro.org>
Powered by blists - more mailing lists