]> Pileus Git - ~andy/linux/blobdiff - net/irda/irias_object.c
Merge branch 'for-2.6.22' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus...
[~andy/linux] / net / irda / irias_object.c
index 2a571b43ebec78c60215773eaac9109cd34fd83c..4adaae242b9e44b422b46f1fe3b4fd8422db1b0d 100644 (file)
@@ -57,8 +57,8 @@ static char *strndup(char *str, size_t max)
                len = max;
 
        /* Allocate new string */
-        new_str = kmalloc(len + 1, GFP_ATOMIC);
-        if (new_str == NULL) {
+       new_str = kmalloc(len + 1, GFP_ATOMIC);
+       if (new_str == NULL) {
                IRDA_WARNING("%s: Unable to kmalloc!\n", __FUNCTION__);
                return NULL;
        }
@@ -78,7 +78,7 @@ static char *strndup(char *str, size_t max)
  */
 struct ias_object *irias_new_object( char *name, int id)
 {
-        struct ias_object *obj;
+       struct ias_object *obj;
 
        IRDA_DEBUG( 4, "%s()\n", __FUNCTION__);