rpms/kernel/devel linux-2.6-iwl3945-remove-useless-exports.patch, NONE, 1.1 kernel.spec, 1.1533, 1.1534

Chuck Ebbert cebbert at fedoraproject.org
Tue Apr 28 04:36:32 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1468

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-iwl3945-remove-useless-exports.patch 
Log Message:
Drop unused exports from the iwl3945 driver.

linux-2.6-iwl3945-remove-useless-exports.patch:

--- NEW FILE linux-2.6-iwl3945-remove-useless-exports.patch ---
These exports are unnecessary because this object file is linked together
with all the files that use the functions.

Signed-off-by: Chuck Ebbert <cebbert at redhat.com>

Index: linux-2.6.29.noarch/drivers/net/wireless/iwlwifi/iwl3945-base.c
===================================================================
--- linux-2.6.29.noarch.orig/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ linux-2.6.29.noarch/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -1694,7 +1694,6 @@ void iwl3945_rx_queue_reset(struct iwl_p
 	rxq->free_count = 0;
 	spin_unlock_irqrestore(&rxq->lock, flags);
 }
-EXPORT_SYMBOL(iwl3945_rx_queue_reset);
 
 /*
  * this should be called while priv->lock is locked
@@ -1745,7 +1744,6 @@ static void iwl3945_rx_queue_free(struct
 	rxq->bd = NULL;
 	rxq->rb_stts  = NULL;
 }
-EXPORT_SYMBOL(iwl3945_rx_queue_free);
 
 
 /* Convert linear signal-to-noise ratio into dB */


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1533
retrieving revision 1.1534
diff -u -p -r1.1533 -r1.1534
--- kernel.spec	28 Apr 2009 04:23:57 -0000	1.1533
+++ kernel.spec	28 Apr 2009 04:36:02 -0000	1.1534
@@ -673,6 +673,8 @@ Patch3000: linux-2.6-btrfs-experimental-
 
 Patch9002: cpufreq-add-atom-to-p4-clockmod.patch
 
+Patch9100: linux-2.6-iwl3945-remove-useless-exports.patch
+
 %endif
 
 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -1228,6 +1230,8 @@ ApplyPatch linux-2.6-silence-acpi-blackl
 
 #ApplyPatch cpufreq-add-atom-to-p4-clockmod.patch
 
+ApplyPatch linux-2.6-iwl3945-remove-useless-exports.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -1821,6 +1825,9 @@ fi
 #	                ||----w |
 #	                ||     ||
 %changelog
+* Tue Apr 28 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.30-0.72.rc3.git3
+- Drop unused exports from the iwl3945 driver.
+
 * Tue Apr 28 2009 Chuck Ebbert <cebbert at redhat.com>
 - Linux 2.6.30-rc3-git3
 




More information about the fedora-extras-commits mailing list