Page MenuHomeFreeBSD

D18948.id.diff
No OneTemporary

D18948.id.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
Fri, Jul 3, 7:09 PM (18 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34634108
Default Alt Text
D18948.id.diff (544 B)

Event Timeline