remove trailing whitespaces
[dpdk.git] / examples / netmap_compat / netmap / netmap_user.h
index 86b1b71..f369592 100644 (file)
@@ -1,22 +1,22 @@
 /*
  * Copyright (C) 2011 Matteo Landi, Luigi Rizzo. All rights reserved.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are
  * met:
- * 
+ *
  *   1. Redistributions of source code must retain the above copyright
  *      notice, this list of conditions and the following disclaimer.
- * 
+ *
  *   2. Redistributions in binary form must reproduce the above copyright
  *      notice, this list of conditions and the following disclaimer in the
  *      documentation and/or other materials provided with the
  *      distribution.
- * 
+ *
  *   3. Neither the name of the authors nor the names of their contributors
  *      may be used to endorse or promote products derived from this
  *      software without specific prior written permission.
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY MATTEO LANDI AND CONTRIBUTORS "AS IS" AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
@@ -77,7 +77,7 @@
 
 #define NETMAP_BUF_IDX(ring, buf)                      \
        ( ((char *)(buf) - ((char *)(ring) + (ring)->buf_ofs) ) / \
-               (ring)->nr_buf_size ) 
+               (ring)->nr_buf_size )
 
 #define        NETMAP_RING_NEXT(r, i)                          \
        ((i)+1 == (r)->num_slots ? 0 : (i) + 1 )