Remove trailing whitespaces in regular file

Change-Id: I5faf840dd6649afcb53e91f1d033447f9729cee1
diff --git a/tools/build_uec.sh b/tools/build_uec.sh
index ed5a017..35a4d6d 100755
--- a/tools/build_uec.sh
+++ b/tools/build_uec.sh
@@ -147,7 +147,7 @@
     <interface type='network'>
       <source network='$NET_NAME'/>
     </interface>
-        
+
     <!-- The order is significant here.  File must be defined first -->
     <serial type="file">
       <source path='$vm_dir/console.log'/>
diff --git a/tools/jenkins/jenkins_home/jobs/diablo-xs_ha/config.xml b/tools/jenkins/jenkins_home/jobs/diablo-xs_ha/config.xml
index d0fa6af..49a57f0 100644
--- a/tools/jenkins/jenkins_home/jobs/diablo-xs_ha/config.xml
+++ b/tools/jenkins/jenkins_home/jobs/diablo-xs_ha/config.xml
@@ -78,7 +78,7 @@
 . localrc
 
 # Unlike kvm, ssh to the xen host to run tests, in case the test instance is launch with a host only network
-ssh root@$XEN_IP &quot;cd devstack &amp;&amp; . localrc &amp;&amp; cd tools/jenkins &amp;&amp; ./run_test.sh $EXECUTOR_NUMBER $ADAPTER &apos;$RC&apos;&quot; 
+ssh root@$XEN_IP &quot;cd devstack &amp;&amp; . localrc &amp;&amp; cd tools/jenkins &amp;&amp; ./run_test.sh $EXECUTOR_NUMBER $ADAPTER &apos;$RC&apos;&quot;
 </command>
     </hudson.tasks.Shell>
   </builders>
diff --git a/tools/rfc.sh b/tools/rfc.sh
index 0bc1531..d4dc597 100755
--- a/tools/rfc.sh
+++ b/tools/rfc.sh
@@ -1,5 +1,5 @@
 #!/bin/sh -e
-# Copyright (c) 2010-2011 Gluster, Inc. <http://www.gluster.com> 
+# Copyright (c) 2010-2011 Gluster, Inc. <http://www.gluster.com>
 # This initial version of this file was taken from the source tree
 # of GlusterFS. It was not directly attributed, but is assumed to be
 # Copyright (c) 2010-2011 Gluster, Inc and release GPLv3
diff --git a/tools/warm_apts_and_pips_for_uec.sh b/tools/warm_apts_and_pips_for_uec.sh
index ec7e916..23a28de 100755
--- a/tools/warm_apts_and_pips_for_uec.sh
+++ b/tools/warm_apts_and_pips_for_uec.sh
@@ -30,7 +30,7 @@
 if [ ! -d files/apts ]; then
     echo "Please run this script from devstack/tools/"
     exit 1
-fi 
+fi
 
 # Mount the image
 STAGING_DIR=/tmp/`echo $1 | sed  "s/\//_/g"`.stage
diff --git a/tools/xen/build_domU.sh b/tools/xen/build_domU.sh
index a0fd316..f1c5f07 100755
--- a/tools/xen/build_domU.sh
+++ b/tools/xen/build_domU.sh
@@ -144,7 +144,7 @@
     env GIT_SSL_NO_VERIFY=true git clone $NOVA_REPO
     cd $TOP_DIR/nova
     git checkout $NOVA_BRANCH
-fi 
+fi
 
 # Install plugins
 cp -pr $TOP_DIR/nova/plugins/xenserver/xenapi/etc/xapi.d /etc/
diff --git a/tools/xen/prepare_dom0.sh b/tools/xen/prepare_dom0.sh
index d28a07f..55fd681 100755
--- a/tools/xen/prepare_dom0.sh
+++ b/tools/xen/prepare_dom0.sh
@@ -21,7 +21,7 @@
     ln -s /usr/bin/vim /bin/vi
 fi
 
-# Install git 
+# Install git
 if ! which git; then
     DEST=/tmp/
     GITDIR=$DEST/git-1.7.7
diff --git a/tools/xen/scripts/install-os-vpx.sh b/tools/xen/scripts/install-os-vpx.sh
index f0dc3c2..d45c370 100755
--- a/tools/xen/scripts/install-os-vpx.sh
+++ b/tools/xen/scripts/install-os-vpx.sh
@@ -88,7 +88,7 @@
 
 get_params()
 {
-  while getopts "hicwbf:d:v:m:p:k:r:l:" OPTION; 
+  while getopts "hicwbf:d:v:m:p:k:r:l:" OPTION;
   do
     case $OPTION in
       h) usage
@@ -246,7 +246,7 @@
 
 
 # This installs the interface for public traffic, only if a bridge is specified
-# The interface is not configured at this stage, but it will be, once the admin   
+# The interface is not configured at this stage, but it will be, once the admin
 # tasks are complete for the services of this VPX
 create_public_vif()
 {
diff --git a/tools/xen/scripts/mkxva b/tools/xen/scripts/mkxva
index dcdee61..a316da2 100755
--- a/tools/xen/scripts/mkxva
+++ b/tools/xen/scripts/mkxva
@@ -177,7 +177,7 @@
     /sbin/mkfs.ext3 -I 128 -m0 -F "$partition"
     /sbin/e2label "$partition" vpxroot
     make_fs_inner "$staging" "$partition" ""
-    
+
     # Now run grub on the image we've created
     CLEAN_MOUNTPOINT=$(mktemp -d "$TMPDIR/mkfs-XXXXXX")
 
@@ -203,7 +203,7 @@
 
     $SUDO umount "$CLEAN_MOUNTPOINT"
     CLEAN_MOUNTPOINT=
-    
+
     # Grub expects a disk with name /dev/xxxx with a first partition
     # named /dev/xxxx1, so we give it what it wants using symlinks
     # Note: /dev is linked to the real /dev of the build machine, so
@@ -214,14 +214,14 @@
     rm -f "$disk_part1_name"
     ln -s "$CLEAN_LOSETUP" "$disk_name"
     ln -s "$partition" "$disk_part1_name"
-    
+
     # Feed commands into the grub shell to setup the disk
     grub --no-curses --device-map=/dev/null <<EOF
 device (hd0) $disk_name
 setup (hd0) (hd0,0)
 quit
 EOF
-    
+
     # Cleanup
     rm -f "$disk_name"
     rm -f "$disk_part1_name"
@@ -253,7 +253,7 @@
     local n_bytes=$(stat --printf=%s "$diskimg")
     local n_meg=$((($n_bytes+$((1024*1024 -1)))/$((1024*1024))))
     local i=0
-    while [ $i -lt $n_meg ] ; do 
+    while [ $i -lt $n_meg ] ; do
 	if [ $rio -eq 0 ] ; then
 		local file="$outputdir"/chunk-$(printf "%08d" $i)
 		dd if="$diskimg" of="$file" skip=$i bs=1M count=1 2>/dev/null
@@ -359,7 +359,7 @@
 
 
 # cleanup
-if [ -z "${DO_NOT_CLEANUP:-}" ] ; then 
+if [ -z "${DO_NOT_CLEANUP:-}" ] ; then
     rm -rf "$XVA_TARBALL_STAGING"
     rm -f "$FS_TMPFILE"
 fi