On Monday 30 November 2009, Gertjan van Wingerde wrote: > Simplify the rt2x00queue_insert_l2pad function by handling the alignment > operations one by one. Do not special case special circumstances. > Basically first perform header alignment, and then perform payload alignment > (if any payload does exist). This results in a properly aligned skb. > > The end result is better readable code, with better results, as now L2 padding > is inserted only when a payload is actually present in the frame. > > Signed-off-by: Gertjan van Wingerde <gwingerde@xxxxxxxxx> Acked-by: Ivo van Doorn <IvDoorn@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html