diff options
author | Andreas Tobler <andreast@FreeBSD.org> | 2011-01-06 20:19:01 +0000 |
---|---|---|
committer | Andreas Tobler <andreast@FreeBSD.org> | 2011-01-06 20:19:01 +0000 |
commit | 7dbe66c15786cb013b7f2275d90d5b48572501ad (patch) | |
tree | 6e3101400b08e8d0ca8ab1ddae979bdefce18c28 /sys/powerpc/cpufreq/pcr.c | |
parent | 574fe75809ddccaaa62c25ecc252f81675e7a319 (diff) | |
download | src-7dbe66c15786cb013b7f2275d90d5b48572501ad.tar.gz src-7dbe66c15786cb013b7f2275d90d5b48572501ad.zip |
Remove unused variables. Spotted by a cppcheck
(devel/cppcheck, http://sourceforge.net/projects/cppcheck) run.
Approved by: nwhitehorn (mentor)
Notes
Notes:
svn path=/head/; revision=217065
Diffstat (limited to 'sys/powerpc/cpufreq/pcr.c')
-rw-r--r-- | sys/powerpc/cpufreq/pcr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/powerpc/cpufreq/pcr.c b/sys/powerpc/cpufreq/pcr.c index fc17592638fb..ff4d20d2e939 100644 --- a/sys/powerpc/cpufreq/pcr.c +++ b/sys/powerpc/cpufreq/pcr.c @@ -305,12 +305,10 @@ pcr_set(device_t dev, const struct cf_setting *set) static int pcr_get(device_t dev, struct cf_setting *set) { - struct pcr_softc *sc; uint64_t psr; if (set == NULL) return (EINVAL); - sc = device_get_softc(dev); memset(set, CPUFREQ_VAL_UNKNOWN, sizeof(*set)); |