···25982598 * Determine the length of a packet in the buffer25992599 * Optimization suggested by Pascal Drolet <pascal.drolet@informission.ca>26002600 */26012601-static __inline__ int packet_length(struct dma_rcv_ctx *d, int idx, quadlet_t *buf_ptr,26022602- int offset, unsigned char tcode, int noswap)26012601+static inline int packet_length(struct dma_rcv_ctx *d, int idx,26022602+ quadlet_t *buf_ptr, int offset,26032603+ unsigned char tcode, int noswap)26032604{26042605 int length = -1;26052606
+2-2
drivers/ieee1394/sbp2.c
···356356/*357357 * Converts a buffer from be32 to cpu byte ordering. Length is in bytes.358358 */359359-static __inline__ void sbp2util_be32_to_cpu_buffer(void *buffer, int length)359359+static inline void sbp2util_be32_to_cpu_buffer(void *buffer, int length)360360{361361 u32 *temp = buffer;362362···369369/*370370 * Converts a buffer from cpu to be32 byte ordering. Length is in bytes.371371 */372372-static __inline__ void sbp2util_cpu_to_be32_buffer(void *buffer, int length)372372+static inline void sbp2util_cpu_to_be32_buffer(void *buffer, int length)373373{374374 u32 *temp = buffer;375375