Skip to content

Commit f1b6fc1

Browse files
committed
[DM][OFW] Clean codes
Signed-off-by: GuEe-GUI <[email protected]>
1 parent 1611dcc commit f1b6fc1

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

components/drivers/ofw/base.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,6 @@ const char *rt_ofw_get_prop_fuzzy_name(const struct rt_ofw_node *np, const char
17631763
return propname;
17641764
}
17651765

1766-
17671766
struct rt_ofw_prop *rt_ofw_get_prop(const struct rt_ofw_node *np, const char *name, rt_ssize_t *out_length)
17681767
{
17691768
struct rt_ofw_prop *prop = RT_NULL;

components/drivers/ofw/io.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ rt_err_t rt_ofw_get_address(struct rt_ofw_node *np, int index, rt_uint64_t *out_
155155

156156
static rt_err_t ofw_get_address_by_name(struct rt_ofw_node *np, const char *name,
157157
rt_uint64_t *out_address, rt_uint64_t *out_size)
158-
159158
{
160159
int index = 0;
161160
rt_err_t err = -RT_EEMPTY;

0 commit comments

Comments
 (0)