From: Andrei Khomenkov Date: Sun, 10 May 2026 13:43:12 +0000 (+0300) Subject: staging: rtl8723bs: remove unused RTW_DVOBJ_CHIP_HW_TYPE code X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ea2b0b62b336e287f4c893b2e404f0f0c56144a;p=thirdparty%2Fkernel%2Fstable.git staging: rtl8723bs: remove unused RTW_DVOBJ_CHIP_HW_TYPE code Remove the RTW_DVOBJ_CHIP_HW_TYPE code since it is not used as the macro is not defined anywhere. Signed-off-by: Andrei Khomenkov Link: https://patch.msgid.link/20260510134315.64295-7-khomenkov@mailbox.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h index 7ed375ba18d8..30183d502b69 100644 --- a/drivers/staging/rtl8723bs/include/drv_types.h +++ b/drivers/staging/rtl8723bs/include/drv_types.h @@ -258,9 +258,6 @@ static inline struct dvobj_priv *pwrctl_to_dvobj(struct pwrctrl_priv *pwrctl_pri static inline struct device *dvobj_to_dev(struct dvobj_priv *dvobj) { /* todo: get interface type from dvobj and the return the dev accordingly */ -#ifdef RTW_DVOBJ_CHIP_HW_TYPE -#endif - return &dvobj->intf_data.func->dev; }