Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147468148
D18948.id90080.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
544 B
Referenced Files
None
Subscribers
None
D18948.id90080.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D18948: [bhnd] remove unused sc variable
Attached
Detach File
Event Timeline
Log In to Comment