From: Of Stanislaw Wadas
> Add inline to gadget_write_string().
...
> -static void usbg_write_string(char *path, char *name, char *file, char *buf)
> +static inline void usbg_write_string(char *path, char *name, char *file,
> char *buf)
> {
> usbg_write_buf(path, name, file, buf);
> }
Why?
The compiler is very unlikely not to inline it anyway.
If it doesn't inline it, then specifying 'inline' probably
won't make any difference either.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html