Mark Johnston <[email protected]> writes:
> Warner Losh <[email protected]> writes:
> > +      static bool
> > +      default_is_storage_device(device_t dev)
> > +      {
> > +          return (true);
> > +      }
> After this commit I see a warning during buildkernel of a GENERIC
> kernel:
>
> nvme_if.c:21:1: warning: unused function 'default_is_storage_device' 
> [-Wunused-function]

Easily fixed by changing `static bool` to `static inline bool`.

DES
-- 
Dag-Erling Smørgrav - [email protected]

Reply via email to