[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Remove unused udev_parse_block_entry() function



ACK.

On 02/02/2010 10:47 AM, Hans de Goede wrote:
This is a leftover from having our own udev db reading code.
---
  storage/udev.py |   10 ----------
  1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/storage/udev.py b/storage/udev.py
index 2147aca..7ed7cc4 100644
--- a/storage/udev.py
+++ b/storage/udev.py
@@ -122,16 +122,6 @@ def udev_get_block_device(sysfs_path):
      else:
          return dev

-def udev_parse_block_entry(buf):
-    dev = udev_parse_entry(buf)
-
-    for (key, value) in dev.iteritems():
-        if value.count(" "):
-            # eg: DEVLINKS
-            dev.update({key: value.split()})
-
-    return dev
-

  # These are functions for retrieving specific pieces of information from
  # udev database entries.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]