Page MenuHomeFreeBSD

D18948.id90080.diff
No OneTemporary

D18948.id90080.diff

diff --git a/sys/dev/bhnd/bhnd.c b/sys/dev/bhnd/bhnd.c
--- a/sys/dev/bhnd/bhnd.c
+++ b/sys/dev/bhnd/bhnd.c
@@ -634,14 +634,11 @@
int
bhnd_generic_enable_clocks(device_t dev, device_t child, uint32_t clocks)
{
- struct bhnd_softc *sc;
struct bhnd_core_clkctl *clkctl;
uint32_t avail;
uint32_t req;
int error;
- sc = device_get_softc(dev);
-
if (device_get_parent(child) != dev)
return (EINVAL);
@@ -650,8 +647,6 @@
BHND_ASSERT_CLKCTL_AVAIL(clkctl);
- sc = device_get_softc(dev);
-
avail = 0x0;
req = 0x0;

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 12, 6:16 AM (8 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29569075
Default Alt Text
D18948.id90080.diff (544 B)

Event Timeline