On Wed, 13 Aug 2025 15:33:16 +0800
Dengdui Huang <huangdeng...@huawei.com> wrote:

> +static void
> +hns3_uninit_hardware(struct hns3_hw *hw)
> +{
> +     struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw);
> +
> +     (void)hns3_uninit_umv_space(hw);

Overall, the patch looks good. But why the (void) cast here.
The compiler allows ignoring return value unless the must check attribute is 
set.

Reply via email to