mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
udev-builtin-net_id: fix warning about discarded "const" attribute (#5385)
This commit is contained in:
parent
1e94df4471
commit
3877500c5b
@ -426,11 +426,10 @@ static int names_bcma(struct udev_device *dev, struct netnames *names) {
|
||||
|
||||
static int names_ccw(struct udev_device *dev, struct netnames *names) {
|
||||
struct udev_device *cdev;
|
||||
const char *bus_id;
|
||||
const char *bus_id, *subsys;
|
||||
size_t bus_id_len;
|
||||
size_t bus_id_start;
|
||||
int rc;
|
||||
char *subsys;
|
||||
|
||||
assert(dev);
|
||||
assert(names);
|
||||
|
Loading…
x
Reference in New Issue
Block a user