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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 24 Jul 2023 04:45:49 +0900
From:   Chanwoo Choi <chanwoo@...nel.org>
To:     YueHaibing <yuehaibing@...wei.com>, myungjoo.ham@...sung.com,
        cw00.choi@...sung.com
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] extcon: Remove unused inline functions

On 23. 7. 20. 23:37, YueHaibing wrote:
> commit 830ae442202e ("extcon: Remove the deprecated extcon functions")
> left behind this.
> 
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
>  include/linux/extcon.h | 12 ------------
>  1 file changed, 12 deletions(-)
> 
> diff --git a/include/linux/extcon.h b/include/linux/extcon.h
> index 3c45c3846fe9..e596a0abcb27 100644
> --- a/include/linux/extcon.h
> +++ b/include/linux/extcon.h
> @@ -328,16 +328,4 @@ struct extcon_specific_cable_nb {
>         struct extcon_dev *edev;
>         unsigned long previous_value;
>  };
> -
> -static inline int extcon_register_interest(struct extcon_specific_cable_nb *obj,
> -				const char *extcon_name, const char *cable_name,
> -				struct notifier_block *nb)
> -{
> -	return -EINVAL;
> -}
> -
> -static inline int extcon_unregister_interest(struct extcon_specific_cable_nb *obj)
> -{
> -	return -EINVAL;
> -}
>  #endif /* __LINUX_EXTCON_H__ */

Applied it. Thanks.

-- 
Best Regards,
Samsung Electronics
Chanwoo Choi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ